import type { CardListData, CardListParams } from '@/types/card'
import { request } from '@/utils/request'


/**
 * 获取月卡列表
 * @param { page, pageSize} params
 * @returns
 */
export const getCardListAPI = (params: CardListParams) => {
  return request<CardListData>('/parking/card/list', 'GET', params)
}